#include<stdio.h>
main()
{
int a,b;char c;
scanf("%d %d %c",&a,&b,&c);
if(c=='+')
printf("%d",a+b);
if(c=='-')
printf("%d",a-b);
if(c=='*')
printf("%d",a*b);
if(c=='/')
if(b==0)
printf("Divided by zero!");
else
printf("%d",a/b);

if(c!='+'&&c!='-'&&c!='*'&&c!='/')
printf("Invalid operator!");
}
